#include <stdio.h>
#include <stdlib.h>

int main()
{
    char arr[10] = {'a','b','c','d','e','f','g','h','i','j'};
    int i = 0 , j = 9;
    while(i < j)
    {
        char tmp = arr[i];
        arr[i] = arr[j];
        arr[j] = tmp;
        i++;
        j--;
    }
    for(int k = 0;k < sizeof(arr)/sizeof(arr[0]);k++) 
    printf("%c",arr[k]);

    return 0;
}


